import { BaseWindow } from "../../../component/window/BaseWindow";
import { ILayer } from "../../../mvc/interfaces/ILayer";
import { Language } from "../../../../extend/language/Language";
import { ObjCreate } from "../common/ObjCreate";
import { LoaderHelp } from "../../../common/display/LoaderHelp";
import { ImagesConst } from "../../resource/ImagesConst";
import { GlobalStyle } from "../../../common/global/GlobalStyle";
import { GTextFiled } from "../../../../com/mui/controls/GTextFiled";
//class CrossGuildWarGuideWin
    
    export  class CrossGuildWarGuideWin extends BaseWindow
    {
        constructor(arg1: ILayer=null)
        {
            super(arg1);
            setSize(653, 478);
            this.title = Language.getString(80324);
            this.titleHeight = 27;
            return;
        }

        protected /* override */ createChildren(): void
        {
            super.createChildren();
            ObjCreate.createBg(17, 40, 305, 312, this);
            var loc1=ObjCreate.createBitmap(null, 18, 41, this);
            LoaderHelp.setBitmapdata(ImagesConst.CrossGuildWarGideBg1 + ".swf", loc1);
            ObjCreate.createBg(330, 40, 307, 311, this);
            loc1 = ObjCreate.createBitmap(null, 329, 41, this);
            LoaderHelp.setBitmapdata(ImagesConst.CrossGuildWarGideBg2 + ".swf", loc1);
            ObjCreate.createBg(17, 360, 618, 111, this);
            var loc2=GlobalStyle.textFormat1;
            loc2.leading = 5;
            this._txtDesc = ObjCreate.createGTextField(Language.getString(80598), 23, 369, 608, 100, this, loc2);
            this._txtDesc.wordWrap = true;
            this._txtDesc.multiline = true;
            return;
        }

        /* internal */ /* var */_txtDesc: GTextFiled;
    }
